package stbm.objects;

import java.util.LinkedList;

/**
 * Represents a store for handling trade on each planet
 * 
 * @author Nirav
 * @author Nisha
 * 
 */
public class Store {

	public LinkedList<TradeGood> tg;

	public String planetName;

	public int itemsCount;

	/**
	 * Constructor for Store
	 * 
	 * @param tg
	 *            a trade good
	 * @param planetName
	 *            the name of a planet
	 * 
	 */
	public Store(LinkedList<TradeGood> tg, String planetName) {
		this.tg = tg;
		this.planetName = planetName;
		itemsCount = tg.size();
	}

}
